	
<div class="container">
	
	<a href="<?=URL?>edit/id:<?=ID?>" class="btn"><?=__("Edit", "en")?></a>
	<a href="<?=URL?>delete/id:<?=ID?>" class="btn"><?=__("Delete", "en")?></a>
	
	<!-- paging -->
	
	<div class="right">
	
		<ul class="unstyled horizontal paginate">
		
			<? foreach ($data['paging']['buttons'] as $button): ?>
			
				<? if ($button['number']): ?>
			
					<li><a href="<?=URL?><?=ACTION?>/id:<?=$button['number']?>"><?=$button['text']?></a></li>
					
				<? endif; ?>
			
			<? endforeach; ?>
		
		</ul>
	
	</div>
	
	<hr>

	<? if ($data): ?>
	
		<? foreach($data['data'] as $id => $item): ?>
			
			<dl>
		
				<? foreach($data['info']['columns'] as $column) : ?>
				
					<? if ($column != $data['info']['key']): ?>
				
						<dt><?=$column['alias']?></dt>
						
						<dd>
							<?=$item[$column['field']]?>
						</dd>
					
					<? endif; ?>
				
				<? endforeach; ?>
			
			</dl>
			
		<? endforeach; ?>
		
	<? else: ?>
	
		Not found.
	
	<? endif; ?>
	
	<hr>
	
	<a href="<?=URL?><?=$data['paging']['buttons']['back']['url']?>"><?=__("Back to list", "en")?></a>

</div>